docs: Claude Code v2.1.252 - broader credential scrubbing in subprocess environments - #1235
Merged
Merged
Conversation
…ss environments Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Night shift report
WHY THIS MATTERS: Claude Code v2.1.252 ships a meaningful security hardening:
CLAUDE_CODE_SUBPROCESS_ENV_SCRUBnow strips a broader set of credentials from subprocess environments than before. Previously the docs described it as removing only Anthropic and cloud provider credentials; now it removes any variable that Claude Code recognizes as credential-shaped, plus credentials embedded in package registry URLs. This matters for users who rely on this flag to protect secrets from prompt injection — the protection surface is now larger, and the MCP and sandboxing docs have been updated to reflect the revised scope with consistent language.HIGHLIGHTS:
CLAUDE_CODE_SUBPROCESS_ENV_SCRUBexpanded scope (env-vars.md): now strips Anthropic/cloud creds, any other variable Claude Code recognizes as a credential, and credentials embedded in package registry URLs — not just the previously documented fixed setmcp.md): the per-variable matching rule (underscore-separated parts likeTOKEN,SECRET,KEY,AUTH) is simplified in the prose; the full pattern applies as before but the docs no longer enumerate the complete list, making the sentence cleaner but slightly less precise for power userssandboxing.md): two references to "Anthropic and cloud provider credentials" updated to "credentials" to reflect the broader scope; also a minor formatting split of one sentence into two paragraphs for readabilityCreated by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning